package cn.gok.lambda;


import java.util.concurrent.Callable;

class B implements Callable<Integer>{
    private Integer i=0;
    @Override
    public Integer call() throws Exception {
        i++;
        Thread.sleep(5000);
        return i;
    }
}
public class 创建线程 {
    public static void main(String[] args) {
    }
}
